Mobile runtime conditional sections for surveys

ABSTRACT

Embodiments of the invention provide for dynamically generating an interface including conditional content based on runtime variables related to the device on which the content will be presented. Embodiments provide for creating and using runtime variables for showing or hiding data, depending on the type of device that the interface is accessed from. In other words, embodiments allow a designer of the interface to define conditional sections within the interface and the conditions, i.e., values of the runtime variables, upon which those section should be included or excluded from the interface. Based on the definition of these sections and the runtime values of variables associated with those sections, e.g., variables representing a device type, application type, mode, etc. of a client device on which the content will be presented, embodiments can provide an interface tailored to be presented on that type of device.

BACKGROUND OF THE INVENTION

Embodiments of the present invention relate generally to methods andsystems for dynamically tailoring content to a device upon which it willbe consumed and more particularly to dynamically generating an interfaceincluding conditional content based on runtime variables related to thedevice on which the content will be presented.

Mobile devices of various types are increasingly used to perform thesame functions and consume the same content as more traditionalcomputing devices with larger screens or displays. While convenient tocarry and use, the relatively small displays of mobile devices sometimespresents problems when a user attempts to view content that is moresuited for a larger display. For example, when a user takes a survey,the survey is most often served via a web page. Surveys can containmultiple question types, such as radio button choices, or a free-formtext response. Additionally, some surveys may be built with desktopcapabilities, such as large images or extensive tables of data. If thatsurvey is taken on a small-screen device, such as a mobile phone, thelong text answers are difficult to answer with tiny keys, and the largeimages now blanket the page, forcing a scroll to get “around” thatpicture.

One way to deal with this problem may be to define standards or “bestpractices” to instruct people to not use these question types or images,but then the survey falls short or is less powerful. Other solutions mayuse a special <div> tag, then show or hide those using javascript orother client-executed code. However, such practices are insecure,allowing the viewable source to show both experiences. Additionally,that practice may not be a design that is followed by current or futuremobile devices. Hence, there is a need for improved methods and systemsfor dynamically tailoring content to a device upon which it will beconsumed.

BRIEF SUMMARY OF THE INVENTION

Embodiments of the invention provide systems and methods for dynamicallygenerating an interface including conditional content based on runtimevariables related to the device on which the content will be presented.According to one embodiment, dynamically generating an interfaceincluding conditional content can comprise receiving a request from aclient device for a set of content, determining values for one or morevariables associated with the client device, and generating theinterface including the set of content. The set of content included inthe interface can be determined dynamically based on the determinedvalues for the one or more variables associated with the client device.In some cases, the interface can comprise a web page and the content cancomprise a survey. The values of the variables can indicate one or moreof a device type for the client device, an application executing on theclient device, or a mode of the client device or application of theclient device. So for example, the device type of the client device canbe a mobile device type and the dynamically determined set of contentfor the mobile device type can be smaller than the dynamicallydetermined set of content for another device type.

More specifically, generating the interface can comprise reading adefinition of the interface. The definition can identify the contentwithin a plurality of sections of the interface and can define thecontent within one or more of the sections of the interface asconditional based on the value of one or more of the variablesassociated with the client device. For each section of the interface, adetermination can be made based on the definition of the interface as towhether the content of the section is conditional. In response todetermining the content for the section is not conditional, the contentof the section identified by the interface definition can be added tothe generated interface. In response to determining the content for thesection is conditional, a further determination can be made based on thevalue of the one or more of the variables associated with the clientdevice as to whether the content of the section should be included. Inresponse to determining the content for the section should be included,the content of the section identified by the interface definition to thegenerated interface. This process of selectively adding the content tothe generated interface based on the definition and runtime variables,can continue for each defined section of the interface until all contentidentified in the interface definition has been checked and thegenerated interface can be provided to the client device in response tothe request.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram illustrating components of an exemplarydistributed system in which various embodiments of the present inventionmay be implemented.

FIG. 2 is a block diagram illustrating components of a systemenvironment by which services provided by embodiments of the presentinvention may be offered as cloud services.

FIG. 3 is a block diagram illustrating an exemplary computer system inwhich embodiments of the present invention may be implemented.

FIG. 4 is a block diagram illustrating, at a high-level, functionalcomponents of a system for dynamically generating and providing aninterface including conditional content according to one embodiment ofthe present invention.

FIG. 5 is a flowchart illustrating a process for dynamically generatingand providing an interface including conditional content according toone embodiment of the present invention.

FIG. 6 is a flowchart illustrating additional details of a process fordynamically generating an interface including conditional contentaccording to one embodiment of the present invention.

FIGS. 7A and 7B are screenshots illustrating exemplary interfaces foridentifying conditional content according to one embodiment of thepresent invention.

FIGS. 8A and 8B are screenshots illustrating exemplary interfaces forproviding conditional content according to one embodiment of the presentinvention.

DETAILED DESCRIPTION OF THE INVENTION

In the following description, for the purposes of explanation, numerousspecific details are set forth in order to provide a thoroughunderstanding of various embodiments of the present invention. It willbe apparent, however, to one skilled in the art that embodiments of thepresent invention may be practiced without some of these specificdetails. In other instances, well-known structures and devices are shownin block diagram form.

The ensuing description provides exemplary embodiments only, and is notintended to limit the scope, applicability, or configuration of thedisclosure. Rather, the ensuing description of the exemplary embodimentswill provide those skilled in the art with an enabling description forimplementing an exemplary embodiment. It should be understood thatvarious changes may be made in the function and arrangement of elementswithout departing from the spirit and scope of the invention as setforth in the appended claims.

Specific details are given in the following description to provide athorough understanding of the embodiments. However, it will beunderstood by one of ordinary skill in the art that the embodiments maybe practiced without these specific details. For example, circuits,systems, networks, processes, and other components may be shown ascomponents in block diagram form in order not to obscure the embodimentsin unnecessary detail. In other instances, well-known circuits,processes, algorithms, structures, and techniques may be shown withoutunnecessary detail in order to avoid obscuring the embodiments.

Also, it is noted that individual embodiments may be described as aprocess which is depicted as a flowchart, a flow diagram, a data flowdiagram, a structure diagram, or a block diagram. Although a flowchartmay describe the operations as a sequential process, many of theoperations can be performed in parallel or concurrently. In addition,the order of the operations may be re-arranged. A process is terminatedwhen its operations are completed, but could have additional steps notincluded in a figure. A process may correspond to a method, a function,a procedure, a subroutine, a subprogram, etc. When a process correspondsto a function, its termination can correspond to a return of thefunction to the calling function or the main function.

The term “machine-readable medium” includes, but is not limited toportable or fixed storage devices, optical storage devices, and variousother mediums capable of storing, containing or carrying instruction(s)and/or data. A code segment or machine-executable instructions mayrepresent a procedure, a function, a subprogram, a program, a routine, asubroutine, a module, a software package, a class, or any combination ofinstructions, data structures, or program statements. A code segment maybe coupled to another code segment or a hardware circuit by passingand/or receiving information, data, arguments, parameters, or memorycontents. Information, arguments, parameters, data, etc. may be passed,forwarded, or transmitted via any suitable means including memorysharing, message passing, token passing, network transmission, etc.

Furthermore, embodiments may be implemented by hardware, software,firmware, middleware, microcode, hardware description languages, or anycombination thereof. When implemented in software, firmware, middlewareor microcode, the program code or code segments to perform the necessarytasks may be stored in a machine readable medium. A processor(s) mayperform the necessary tasks.

Embodiments of the invention provide systems and methods for dynamicallytailoring content to a device upon which it will be consumed. Morespecifically, embodiments of the invention provide systems and methodsfor dynamically generating an interface including conditional contentbased on runtime variables related to the device on which the contentwill be presented. Embodiments provide for creating and using runtimevariables for showing or hiding data, depending on the type of devicethat the interface is accessed from. In other words, embodiments allow adesigner of the interface to define conditional sections within theinterface and the conditions, i.e., values of the runtime variables,upon which those sections should be included or excluded from theinterface. Conditional sections can be defined as sections of text orother collateral that are only shown when a specific rule, or condition,is met. Case sections can be considered a logical grouping of two ormore conditional sections. Based on the definition of these sections andthe runtime values of variables associated with those sections, e.g.,variables representing a device type, application type, mode, etc. of aclient device on which the content will be presented, embodiments canprovide an interface tailored to be presented on that type of device.For example, embodiments can detect a mobile device and generate aninterface that shows only the applicable content that is intended forthat type of experience (i.e., small device) and not other content.Various additional details of embodiments of the present invention willbe described below with reference to the figures.

FIG. 1 is a block diagram illustrating components of an exemplarydistributed system in which various embodiments of the present inventionmay be implemented. In the illustrated embodiment, distributed system100 includes one or more client computing devices 102, 104, 106, and108, which are configured to execute and operate a client applicationsuch as a web browser, proprietary client (e.g., Oracle Forms), or thelike over one or more network(s) 110. Server 112 may be communicativelycoupled with remote client computing devices 102, 104, 106, and 108 vianetwork 110.

In various embodiments, server 112 may be adapted to run one or moreservices or software applications provided by one or more of thecomponents of the system. In some embodiments, these services may beoffered as web-based or cloud services or under a Software as a Service(SaaS) model to the users of client computing devices 102, 104, 106,and/or 108. Users operating client computing devices 102, 104, 106,and/or 108 may in turn utilize one or more client applications tointeract with server 112 to utilize the services provided by thesecomponents.

In the configuration depicted in the figure, the software components118, 120 and 122 of system 100 are shown as being implemented on server112. In other embodiments, one or more of the components of system 100and/or the services provided by these components may also be implementedby one or more of the client computing devices 102, 104, 106, and/or108. Users operating the client computing devices may then utilize oneor more client applications to use the services provided by thesecomponents. These components may be implemented in hardware, firmware,software, or combinations thereof. It should be appreciated that variousdifferent system configurations are possible, which may be differentfrom distributed system 100. The embodiment shown in the figure is thusone example of a distributed system for implementing an embodimentsystem and is not intended to be limiting.

Client computing devices 102, 104, 106, and/or 108 may be portablehandheld devices (e.g., an iPhone®, cellular telephone, an iPad®,computing tablet, a personal digital assistant (PDA)) or wearabledevices (e.g., a Google Glass® head mounted display), running softwaresuch as Microsoft Windows Mobile®, and/or a variety of mobile operatingsystems such as iOS, Windows Phone, Android, BlackBerry 10, Palm OS, andthe like, and being Internet, e-mail, short message service (SMS),Blackberry®, or other communication protocol enabled. The clientcomputing devices can be general purpose personal computers including,by way of example, personal computers and/or laptop computers runningvarious versions of Microsoft Windows®, Apple Macintosh®, and/or Linuxoperating systems. The client computing devices can be workstationcomputers running any of a variety of commercially-available UNIX® orUNIX-like operating systems, including without limitation the variety ofGNU/Linux operating systems, such as for example, Google Chrome OS.Alternatively, or in addition, client computing devices 102, 104, 106,and 108 may be any other electronic device, such as a thin-clientcomputer, an Internet-enabled gaming system (e.g., a Microsoft Xboxgaming console with or without a Kinect® gesture input device), and/or apersonal messaging device, capable of communicating over network(s) 110.

Although exemplary distributed system 100 is shown with four clientcomputing devices, any number of client computing devices may besupported. Other devices, such as devices with sensors, etc., mayinteract with server 112.

Network(s) 110 in distributed system 100 may be any type of networkfamiliar to those skilled in the art that can support datacommunications using any of a variety of commercially-availableprotocols, including without limitation TCP/IP (transmission controlprotocol/Internet protocol), SNA (systems network architecture), IPX(Internet packet exchange), AppleTalk, and the like. Merely by way ofexample, network(s) 110 can be a local area network (LAN), such as onebased on Ethernet, Token-Ring and/or the like. Network(s) 110 can be awide-area network and the Internet. It can include a virtual network,including without limitation a virtual private network (VPN), anintranet, an extranet, a public switched telephone network (PSTN), aninfra-red network, a wireless network (e.g., a network operating underany of the Institute of Electrical and Electronics (IEEE) 802.11 suiteof protocols, Bluetooth®, and/or any other wireless protocol); and/orany combination of these and/or other networks.

Server 112 may be composed of one or more general purpose computers,specialized server computers (including, by way of example, PC (personalcomputer) servers, UNIX® servers, mid-range servers, mainframecomputers, rack-mounted servers, etc.), server farms, server clusters,or any other appropriate arrangement and/or combination. In variousembodiments, server 112 may be adapted to run one or more services orsoftware applications described in the foregoing disclosure. Forexample, server 112 may correspond to a server for performing processingdescribed above according to an embodiment of the present disclosure.

Server 112 may run an operating system including any of those discussedabove, as well as any commercially available server operating system.Server 112 may also run any of a variety of additional serverapplications and/or mid-tier applications, including HTTP (hypertexttransport protocol) servers, FTP (file transfer protocol) servers, CGI(common gateway interface) servers, JAVA® servers, database servers, andthe like. Exemplary database servers include without limitation thosecommercially available from Oracle, Microsoft, Sybase, IBM(International Business Machines), and the like.

In some implementations, server 112 may include one or more applicationsto analyze and consolidate data feeds and/or event updates received fromusers of client computing devices 102, 104, 106, and 108. As an example,data feeds and/or event updates may include, but are not limited to,Twitter® feeds, Facebook® updates or real-time updates received from oneor more third party information sources and continuous data streams,which may include real-time events related to sensor data applications,financial tickers, network performance measuring tools (e.g., networkmonitoring and traffic management applications), clickstream analysistools, automobile traffic monitoring, and the like. Server 112 may alsoinclude one or more applications to display the data feeds and/orreal-time events via one or more display devices of client computingdevices 102, 104, 106, and 108.

Distributed system 100 may also include one or more databases 114 and116. Databases 114 and 116 may reside in a variety of locations. By wayof example, one or more of databases 114 and 116 may reside on anon-transitory storage medium local to (and/or resident in) server 112.Alternatively, databases 114 and 116 may be remote from server 112 andin communication with server 112 via a network-based or dedicatedconnection. In one set of embodiments, databases 114 and 116 may residein a storage-area network (SAN). Similarly, any necessary files forperforming the functions attributed to server 112 may be stored locallyon server 112 and/or remotely, as appropriate. In one set ofembodiments, databases 114 and 116 may include relational databases,such as databases provided by Oracle, that are adapted to store, update,and retrieve data in response to SQL-formatted commands.

FIG. 2 is a block diagram illustrating components of a systemenvironment by which services provided by embodiments of the presentinvention may be offered as cloud services. In the illustratedembodiment, system environment 200 includes one or more client computingdevices 204, 206, and 208 that may be used by users to interact with acloud infrastructure system 202 that provides cloud services. The clientcomputing devices may be configured to operate a client application suchas a web browser, a proprietary client application (e.g., Oracle Forms),or some other application, which may be used by a user of the clientcomputing device to interact with cloud infrastructure system 202 to useservices provided by cloud infrastructure system 202.

It should be appreciated that cloud infrastructure system 202 depictedin the figure may have other components than those depicted. Further,the embodiment shown in the figure is only one example of a cloudinfrastructure system that may incorporate an embodiment of theinvention. In some other embodiments, cloud infrastructure system 202may have more or fewer components than shown in the figure, may combinetwo or more components, or may have a different configuration orarrangement of components.

Client computing devices 204, 206, and 208 may be devices similar tothose described above for 102, 104, 106, and 108.

Although exemplary system environment 200 is shown with three clientcomputing devices, any number of client computing devices may besupported. Other devices such as devices with sensors, etc. may interactwith cloud infrastructure system 202.

Network(s) 210 may facilitate communications and exchange of databetween clients 204, 206, and 208 and cloud infrastructure system 202.Each network may be any type of network familiar to those skilled in theart that can support data communications using any of a variety ofcommercially-available protocols, including those described above fornetwork(s) 110.

Cloud infrastructure system 202 may comprise one or more computersand/or servers that may include those described above for server 112.

In certain embodiments, services provided by the cloud infrastructuresystem may include a host of services that are made available to usersof the cloud infrastructure system on demand, such as online datastorage and backup solutions, Web-based e-mail services, hosted officesuites and document collaboration services, database processing, managedtechnical support services, and the like. Services provided by the cloudinfrastructure system can dynamically scale to meet the needs of itsusers. A specific instantiation of a service provided by cloudinfrastructure system is referred to herein as a “service instance.” Ingeneral, any service made available to a user via a communicationnetwork, such as the Internet, from a cloud service provider's system isreferred to as a “cloud service.” Typically, in a public cloudenvironment, servers and systems that make up the cloud serviceprovider's system are different from the customer's own on-premisesservers and systems. For example, a cloud service provider's system mayhost an application, and a user may, via a communication network such asthe Internet, on demand, order and use the application.

In some examples, a service in a computer network cloud infrastructuremay include protected computer network access to storage, a hosteddatabase, a hosted web server, a software application, or other serviceprovided by a cloud vendor to a user, or as otherwise known in the art.For example, a service can include password-protected access to remotestorage on the cloud through the Internet. As another example, a servicecan include a web service-based hosted relational database and ascript-language middleware engine for private use by a networkeddeveloper. As another example, a service can include access to an emailsoftware application hosted on a cloud vendor's web site.

In certain embodiments, cloud infrastructure system 202 may include asuite of applications, middleware, and database service offerings thatare delivered to a customer in a self-service, subscription-based,elastically scalable, reliable, highly available, and secure manner. Anexample of such a cloud infrastructure system is the Oracle Public Cloudprovided by the present assignee.

In various embodiments, cloud infrastructure system 202 may be adaptedto automatically provision, manage and track a customer's subscriptionto services offered by cloud infrastructure system 202. Cloudinfrastructure system 202 may provide the cloud services via differentdeployment models. For example, services may be provided under a publiccloud model in which cloud infrastructure system 202 is owned by anorganization selling cloud services (e.g., owned by Oracle) and theservices are made available to the general public or different industryenterprises. As another example, services may be provided under aprivate cloud model in which cloud infrastructure system 202 is operatedsolely for a single organization and may provide services for one ormore entities within the organization. The cloud services may also beprovided under a community cloud model in which cloud infrastructuresystem 202 and the services provided by cloud infrastructure system 202are shared by several organizations in a related community. The cloudservices may also be provided under a hybrid cloud model, which is acombination of two or more different models.

In some embodiments, the services provided by cloud infrastructuresystem 202 may include one or more services provided under Software as aService (SaaS) category, Platform as a Service (PaaS) category,Infrastructure as a Service (IaaS) category, or other categories ofservices including hybrid services. A customer, via a subscriptionorder, may order one or more services provided by cloud infrastructuresystem 202. Cloud infrastructure system 202 then performs processing toprovide the services in the customer's subscription order.

In some embodiments, the services provided by cloud infrastructuresystem 202 may include, without limitation, application services,platform services and infrastructure services. In some examples,application services may be provided by the cloud infrastructure systemvia a SaaS platform. The SaaS platform may be configured to providecloud services that fall under the SaaS category. For example, the SaaSplatform may provide capabilities to build and deliver a suite ofon-demand applications on an integrated development and deploymentplatform. The SaaS platform may manage and control the underlyingsoftware and infrastructure for providing the SaaS services. Byutilizing the services provided by the SaaS platform, customers canutilize applications executing on the cloud infrastructure system.Customers can acquire the application services without the need forcustomers to purchase separate licenses and support. Various differentSaaS services may be provided. Examples include, without limitation,services that provide solutions for sales performance management,enterprise integration, and business flexibility for largeorganizations.

In some embodiments, platform services may be provided by the cloudinfrastructure system via a PaaS platform. The PaaS platform may beconfigured to provide cloud services that fall under the PaaS category.Examples of platform services may include without limitation servicesthat enable organizations (such as Oracle) to consolidate existingapplications on a shared, common architecture, as well as the ability tobuild new applications that leverage the shared services provided by theplatform. The PaaS platform may manage and control the underlyingsoftware and infrastructure for providing the PaaS services. Customerscan acquire the PaaS services provided by the cloud infrastructuresystem without the need for customers to purchase separate licenses andsupport. Examples of platform services include, without limitation,Oracle Java Cloud Service (JCS), Oracle Database Cloud Service (DBCS),and others.

By utilizing the services provided by the PaaS platform, customers canemploy programming languages and tools supported by the cloudinfrastructure system and also control the deployed services. In someembodiments, platform services provided by the cloud infrastructuresystem may include database cloud services, middleware cloud services(e.g., Oracle Fusion Middleware services), and Java cloud services. Inone embodiment, database cloud services may support shared servicedeployment models that enable organizations to pool database resourcesand offer customers a Database as a Service in the form of a databasecloud. Middleware cloud services may provide a platform for customers todevelop and deploy various business applications, and Java cloudservices may provide a platform for customers to deploy Javaapplications, in the cloud infrastructure system.

Various different infrastructure services may be provided by an IaaSplatform in the cloud infrastructure system. The infrastructure servicesfacilitate the management and control of the underlying computingresources, such as storage, networks, and other fundamental computingresources for customers utilizing services provided by the SaaS platformand the PaaS platform.

In certain embodiments, cloud infrastructure system 202 may also includeinfrastructure resources 230 for providing the resources used to providevarious services to customers of the cloud infrastructure system. In oneembodiment, infrastructure resources 230 may include pre-integrated andoptimized combinations of hardware, such as servers, storage, andnetworking resources to execute the services provided by the PaaSplatform and the SaaS platform.

In some embodiments, resources in cloud infrastructure system 202 may beshared by multiple users and dynamically re-allocated per demand.Additionally, resources may be allocated to users in different timezones. For example, cloud infrastructure system 230 may enable a firstset of users in a first time zone to utilize resources of the cloudinfrastructure system for a specified number of hours and then enablethe re-allocation of the same resources to another set of users locatedin a different time zone, thereby maximizing the utilization ofresources.

In certain embodiments, a number of internal shared services 232 may beprovided that are shared by different components or modules of cloudinfrastructure system 202 and by the services provided by cloudinfrastructure system 202. These internal shared services may include,without limitation, a security and identity service, an integrationservice, an enterprise repository service, an enterprise managerservice, a virus scanning and white list service, a high availability,backup and recovery service, service for enabling cloud support, anemail service, a notification service, a file transfer service, and thelike.

In certain embodiments, cloud infrastructure system 202 may providecomprehensive management of cloud services (e.g., SaaS, PaaS, and IaaSservices) in the cloud infrastructure system. In one embodiment, cloudmanagement functionality may include capabilities for provisioning,managing and tracking a customer's subscription received by cloudinfrastructure system 202, and the like.

In one embodiment, as depicted in the figure, cloud managementfunctionality may be provided by one or more modules, such as an ordermanagement module 220, an order orchestration module 222, an orderprovisioning module 224, an order management and monitoring module 226,and an identity management module 228. These modules may include or beprovided using one or more computers and/or servers, which may begeneral purpose computers, specialized server computers, server farms,server clusters, or any other appropriate arrangement and/orcombination.

In exemplary operation 234, a customer using a client device, such asclient device 204, 206 or 208, may interact with cloud infrastructuresystem 202 by requesting one or more services provided by cloudinfrastructure system 202 and placing an order for a subscription forone or more services offered by cloud infrastructure system 202. Incertain embodiments, the customer may access a cloud User Interface(UI), cloud UI 212, cloud UI 214 and/or cloud UI 216 and place asubscription order via these UIs. The order information received bycloud infrastructure system 202 in response to the customer placing anorder may include information identifying the customer and one or moreservices offered by the cloud infrastructure system 202 that thecustomer intends to subscribe to.

After an order has been placed by the customer, the order information isreceived via the cloud UIs, 212, 214 and/or 216.

At operation 236, the order is stored in order database 218. Orderdatabase 218 can be one of several databases operated by cloudinfrastructure system 218 and operated in conjunction with other systemelements.

At operation 238, the order information is forwarded to an ordermanagement module 220. In some instances, order management module 220may be configured to perform billing and accounting functions related tothe order, such as verifying the order, and upon verification, bookingthe order.

At operation 240, information regarding the order is communicated to anorder orchestration module 222. Order orchestration module 222 mayutilize the order information to orchestrate the provisioning ofservices and resources for the order placed by the customer. In someinstances, order orchestration module 222 may orchestrate theprovisioning of resources to support the subscribed services using theservices of order provisioning module 224.

In certain embodiments, order orchestration module 222 enables themanagement of business processes associated with each order and appliesbusiness logic to determine whether an order should proceed toprovisioning. At operation 242, upon receiving an order for a newsubscription, order orchestration module 222 sends a request to orderprovisioning module 224 to allocate resources and configure thoseresources needed to fulfill the subscription order. Order provisioningmodule 224 enables the allocation of resources for the services orderedby the customer. Order provisioning module 224 provides a level ofabstraction between the cloud services provided by cloud infrastructuresystem 200 and the physical implementation layer that is used toprovision the resources for providing the requested services. Orderorchestration module 222 may thus be isolated from implementationdetails, such as whether or not services and resources are actuallyprovisioned on the fly or pre-provisioned and only allocated/assignedupon request.

At operation 244, once the services and resources are provisioned, anotification of the provided service may be sent to customers on clientdevices 204, 206 and/or 208 by order provisioning module 224 of cloudinfrastructure system 202.

At operation 246, the customer's subscription order may be managed andtracked by an order management and monitoring module 226. In someinstances, order management and monitoring module 226 may be configuredto collect usage statistics for the services in the subscription order,such as the amount of storage used, the amount data transferred, thenumber of users, and the amount of system up time and system down time.

In certain embodiments, cloud infrastructure system 200 may include anidentity management module 228. Identity management module 228 may beconfigured to provide identity services, such as access management andauthorization services in cloud infrastructure system 200. In someembodiments, identity management module 228 may control informationabout customers who wish to utilize the services provided by cloudinfrastructure system 202. Such information can include information thatauthenticates the identities of such customers and information thatdescribes which actions those customers are authorized to performrelative to various system resources (e.g., files, directories,applications, communication ports, memory segments, etc.) Identitymanagement module 228 may also include the management of descriptiveinformation about each customer and about how and by whom thatdescriptive information can be accessed and modified.

FIG. 3 is a block diagram illustrating an exemplary computer system inwhich embodiments of the present invention may be implemented. Thesystem 300 may be used to implement any of the computer systemsdescribed above. As shown in the figure, computer system 300 includes aprocessing unit 304 that communicates with a number of peripheralsubsystems via a bus subsystem 302. These peripheral subsystems mayinclude a processing acceleration unit 306, an I/O subsystem 308, astorage subsystem 318 and a communications subsystem 324. Storagesubsystem 318 includes tangible computer-readable storage media 322 anda system memory 310.

Bus subsystem 302 provides a mechanism for letting the variouscomponents and subsystems of computer system 300 communicate with eachother as intended. Although bus subsystem 302 is shown schematically asa single bus, alternative embodiments of the bus subsystem may utilizemultiple buses. Bus subsystem 302 may be any of several types of busstructures including a memory bus or memory controller, a peripheralbus, and a local bus using any of a variety of bus architectures. Forexample, such architectures may include an Industry StandardArchitecture (ISA) bus, Micro Channel Architecture (MCA) bus, EnhancedISA (EISA) bus, Video Electronics Standards Association (VESA) localbus, and Peripheral Component Interconnect (PCI) bus, which can beimplemented as a Mezzanine bus manufactured to the IEEE P1386.1standard.

Processing unit 304, which can be implemented as one or more integratedcircuits (e.g., a conventional microprocessor or microcontroller),controls the operation of computer system 300. One or more processorsmay be included in processing unit 304. These processors may includesingle core or multicore processors. In certain embodiments, processingunit 304 may be implemented as one or more independent processing units332 and/or 334 with single or multicore processors included in eachprocessing unit. In other embodiments, processing unit 304 may also beimplemented as a quad-core processing unit formed by integrating twodual-core processors into a single chip.

In various embodiments, processing unit 304 can execute a variety ofprograms in response to program code and can maintain multipleconcurrently executing programs or processes. At any given time, some orall of the program code to be executed can be resident in processor(s)304 and/or in storage subsystem 318. Through suitable programming,processor(s) 304 can provide various functionalities described above.Computer system 300 may additionally include a processing accelerationunit 306, which can include a digital signal processor (DSP), aspecial-purpose processor, and/or the like.

I/O subsystem 308 may include user interface input devices and userinterface output devices. User interface input devices may include akeyboard, pointing devices such as a mouse or trackball, a touchpad ortouch screen incorporated into a display, a scroll wheel, a click wheel,a dial, a button, a switch, a keypad, audio input devices with voicecommand recognition systems, microphones, and other types of inputdevices. User interface input devices may include, for example, motionsensing and/or gesture recognition devices such as the Microsoft Kinect®motion sensor that enables users to control and interact with an inputdevice, such as the Microsoft Xbox® 360 game controller, through anatural user interface using gestures and spoken commands. Userinterface input devices may also include eye gesture recognition devicessuch as the Google Glass® blink detector that detects eye activity(e.g., ‘blinking’ while taking pictures and/or making a menu selection)from users and transforms the eye gestures as input into an input device(e.g., Google Glass®). Additionally, user interface input devices mayinclude voice recognition sensing devices that enable users to interactwith voice recognition systems (e.g., Siri® navigator), through voicecommands.

User interface input devices may also include, without limitation, threedimensional (3D) mice, joysticks or pointing sticks, gamepads andgraphic tablets, and audio/visual devices such as speakers, digitalcameras, digital camcorders, portable media players, webcams, imagescanners, fingerprint scanners, barcode reader 3D scanners, 3D printers,laser rangefinders, and eye gaze tracking devices. Additionally, userinterface input devices may include, for example, medical imaging inputdevices such as computed tomography, magnetic resonance imaging,position emission tomography, medical ultrasonography devices. Userinterface input devices may also include, for example, audio inputdevices such as MIDI keyboards, digital musical instruments and thelike.

User interface output devices may include a display subsystem, indicatorlights, or non-visual displays such as audio output devices, etc. Thedisplay subsystem may be a cathode ray tube (CRT), a flat-panel device,such as that using a liquid crystal display (LCD) or plasma display, aprojection device, a touch screen, and the like. In general, use of theterm “output device” is intended to include all possible types ofdevices and mechanisms for outputting information from computer system300 to a user or other computer. For example, user interface outputdevices may include, without limitation, a variety of display devicesthat visually convey text, graphics and audio/video information such asmonitors, printers, speakers, headphones, automotive navigation systems,plotters, voice output devices, and modems.

Computer system 300 may comprise a storage subsystem 318 that comprisessoftware elements, shown as being currently located within a systemmemory 310. System memory 310 may store program instructions that areloadable and executable on processing unit 304, as well as datagenerated during the execution of these programs.

Depending on the configuration and type of computer system 300, systemmemory 310 may be volatile (such as random access memory (RAM)) and/ornon-volatile (such as read-only memory (ROM), flash memory, etc.) TheRAM typically contains data and/or program modules that are immediatelyaccessible to and/or presently being operated and executed by processingunit 304. In some implementations, system memory 310 may includemultiple different types of memory, such as static random access memory(SRAM) or dynamic random access memory (DRAM). In some implementations,a basic input/output system (BIOS), containing the basic routines thathelp to transfer information between elements within computer system300, such as during start-up, may typically be stored in the ROM. By wayof example, and not limitation, system memory 310 also illustratesapplication programs 312, which may include client applications, Webbrowsers, mid-tier applications, relational database management systems(RDBMS), etc., program data 314, and an operating system 316. By way ofexample, operating system 316 may include various versions of MicrosoftWindows®, Apple Macintosh®, and/or Linux operating systems, a variety ofcommercially-available UNIX® or UNIX-like operating systems (includingwithout limitation the variety of GNU/Linux operating systems, theGoogle Chrome® OS, and the like) and/or mobile operating systems such asiOS, Windows® Phone, Android® OS, BlackBerry® 10 OS, and Palm® OSoperating systems.

Storage subsystem 318 may also provide a tangible computer-readablestorage medium for storing the basic programming and data constructsthat provide the functionality of some embodiments. Software (programs,code modules, instructions) that when executed by a processor providethe functionality described above may be stored in storage subsystem318. These software modules or instructions may be executed byprocessing unit 304. Storage subsystem 318 may also provide a repositoryfor storing data used in accordance with the present invention.

Storage subsystem 300 may also include a computer-readable storage mediareader 320 that can further be connected to computer-readable storagemedia 322. Together and, optionally, in combination with system memory310, computer-readable storage media 322 may comprehensively representremote, local, fixed, and/or removable storage devices plus storagemedia for temporarily and/or more permanently containing, storing,transmitting, and retrieving computer-readable information.

Computer-readable storage media 322 containing code, or portions ofcode, can also include any appropriate media known or used in the art,including storage media and communication media, such as but not limitedto, volatile and non-volatile, removable and non-removable mediaimplemented in any method or technology for storage and/or transmissionof information. This can include tangible computer-readable storagemedia such as RAM, ROM, electronically erasable programmable ROM(EEPROM), flash memory or other memory technology, CD-ROM, digitalversatile disk (DVD), or other optical storage, magnetic cassettes,magnetic tape, magnetic disk storage or other magnetic storage devices,or other tangible computer readable media. This can also includenontangible computer-readable media, such as data signals, datatransmissions, or any other medium which can be used to transmit thedesired information and which can be accessed by computing system 300.

By way of example, computer-readable storage media 322 may include ahard disk drive that reads from or writes to non-removable, nonvolatilemagnetic media, a magnetic disk drive that reads from or writes to aremovable, nonvolatile magnetic disk, and an optical disk drive thatreads from or writes to a removable, nonvolatile optical disk such as aCD ROM, DVD, and Blu-Ray® disk, or other optical media.Computer-readable storage media 322 may include, but is not limited to,Zip® drives, flash memory cards, universal serial bus (USB) flashdrives, secure digital (SD) cards, DVD disks, digital video tape, andthe like. Computer-readable storage media 322 may also include,solid-state drives (SSD) based on non-volatile memory such asflash-memory based SSDs, enterprise flash drives, solid state ROM, andthe like, SSDs based on volatile memory such as solid state RAM, dynamicRAM, static RAM, DRAM-based SSDs, magnetoresistive RAM (MRAM) SSDs, andhybrid SSDs that use a combination of DRAM and flash memory based SSDs.The disk drives and their associated computer-readable media may providenon-volatile storage of computer-readable instructions, data structures,program modules, and other data for computer system 300.

Communications subsystem 324 provides an interface to other computersystems and networks. Communications subsystem 324 serves as aninterface for receiving data from and transmitting data to other systemsfrom computer system 300. For example, communications subsystem 324 mayenable computer system 300 to connect to one or more devices via theInternet. In some embodiments communications subsystem 324 can includeradio frequency (RF) transceiver components for accessing wireless voiceand/or data networks (e.g., using cellular telephone technology,advanced data network technology, such as 3G, 4G or EDGE (enhanced datarates for global evolution), WiFi (IEEE 802.11 family standards, orother mobile communication technologies, or any combination thereof),global positioning system (GPS) receiver components, and/or othercomponents. In some embodiments communications subsystem 324 can providewired network connectivity (e.g., Ethernet) in addition to or instead ofa wireless interface.

In some embodiments, communications subsystem 324 may also receive inputcommunication in the form of structured and/or unstructured data feeds326, event streams 328, event updates 330, and the like on behalf of oneor more users who may use computer system 300.

By way of example, communications subsystem 324 may be configured toreceive data feeds 326 in real-time from users of social networks and/orother communication services such as Twitter® feeds, Facebook® updates,web feeds such as Rich Site Summary (RSS) feeds, and/or real-timeupdates from one or more third party information sources.

Additionally, communications subsystem 324 may also be configured toreceive data in the form of continuous data streams, which may includeevent streams 328 of real-time events and/or event updates 330, that maybe continuous or unbounded in nature with no explicit end. Examples ofapplications that generate continuous data may include, for example,sensor data applications, financial tickers, network performancemeasuring tools (e.g. network monitoring and traffic managementapplications), clickstream analysis tools, automobile trafficmonitoring, and the like.

Communications subsystem 324 may also be configured to output thestructured and/or unstructured data feeds 326, event streams 328, eventupdates 330, and the like to one or more databases that may be incommunication with one or more streaming data source computers coupledto computer system 300.

Computer system 300 can be one of various types, including a handheldportable device (e.g., an iPhone® cellular phone, an iPad® computingtablet, a PDA), a wearable device (e.g., a Google Glass® head mounteddisplay), a PC, a workstation, a mainframe, a kiosk, a server rack, orany other data processing system.

Due to the ever-changing nature of computers and networks, thedescription of computer system 300 depicted in the figure is intendedonly as a specific example. Many other configurations having more orfewer components than the system depicted in the figure are possible.For example, customized hardware might also be used and/or particularelements might be implemented in hardware, firmware, software (includingapplets), or a combination. Further, connection to other computingdevices, such as network input/output devices, may be employed. Based onthe disclosure and teachings provided herein, a person of ordinary skillin the art will appreciate other ways and/or methods to implement thevarious embodiments.

As introduced above, embodiments of the invention provide systems andmethods for dynamically tailoring content to a device upon which it willbe consumed. More specifically, embodiments of the invention providesystems and methods for dynamically generating an interface includingconditional content based on runtime variables related to the device onwhich the content will be presented. To do so, embodiments provide forcreating and using runtime variables for showing or hiding data,depending on the type of device that the interface is accessed from. Inother words, embodiments allow a designer of the interface to defineconditional sections within the interface and the conditions, i.e.,runtime values of the variables, upon which those sections should beincluded or excluded from the interface. Based on the definition ofthese sections and the runtime values of variables associated with thosesections, e.g., variables representing a device type, application type,mode, etc. of a client device on which the content will be presented,embodiments can provide an tailored to be presented on that type ofdevice.

FIG. 4 is a block diagram illustrating, at a high-level, functionalcomponents of a system for dynamically generating and providing aninterface including conditional content according to one embodiment ofthe present invention. In this example, the system 400 includes anapplication server 405 and a web server 410. As known in the art, theapplication server 405 can execute any of a variety of differentapplications or provide any number of different services while the webserver 410 provides an interface to those applications 420 and/orservices as well as data 425 of those application stored in one or morerepositories 430.

According to one embodiment, the web server 410 can also include apersonalization engine 435 for dynamically tailoring content from theapplication 420 in an interface 455 to a device 415 upon which it willbe consumed. More specifically, the personalization engine 435 candynamically generate an interface 455 of the application 420 includingconditional content based on runtime values of variables related to thedevice 415 on which the content will be presented. These variables andconditional sections can be defined in a set of interface definitions440. For example, the interface definitions 440 can comprise a set ofone or more eXtensible Markup Language (XML) or other format filesstored in one or more repositories 445 maintained by and/or accessibleby the web server 410 and/or personalization engine 435.

At design time, a programmer or designer of the interface 455 can beginby using an editor or other tool to define the content and format or theinterface 455. For example, the interface can comprise a web page andthe content can comprise a survey. However, it should be understood thatother types of content are contemplated and considered to be within thescope of the present invention. According to embodiments of the presentinvention, the programmer or designer can also identify sections withinthe interface 455 as being included, i.e., non-conditional, in eachpresentation of the interface 455 while defining other sections to beconditional, i.e., presented in the interface 455 only upon certain setsof one or more conditions. These conditions can be defined in theinterface definitions 440 based on one or more variables associated witheach conditional section. The definitions 440 can identify runtimevalues of the variables upon which inclusion of exclusion of theconditional section of the interface 455 can be determined. For example,the values of the variables may indicate one or more of a device typefor the client device, an application executing on the client device, ora mode of the client device or application of the client device. Basedon the values of these variables, embodiments can provide an interfacetailored to be presented on a particular type of device or to aparticular type of client application. For example, embodiments candetect a mobile device and/or a device with a touchscreen and generatean interface that shows only the applicable content that is intended forthat type of experience (e.g., small device, touchscreen, etc.) and notother content.

More specifically, at runtime, the client device 415 can request a pageor other set of content from the web server 410. In response to therequest, the personalization engine 435 of the web server 410 can readthe interface definitions 440 for the requested page and determinevalues for one or more variables associated with the client device 415identified in the definitions. As can be understood by one skilled inthe art, determining the values of these variables can based oninformation provided by the client device 415 in the request and/orinformation obtained from a service 450 providing such information.

Once the runtime values of variables defined in the interfacedefinitions 440 have been determined by the personalization engine,e.g., the type of client device, type of application it is running, it'smode of operation, etc., is known, the personalization engine 435 cangenerate the interface 455. The set of content included in the interface455 by the personalization engine 435 can be determined dynamicallybased on the determined values for the one or more variables associatedwith the client device 415. For example, if the device type of theclient device 415 is a mobile device type, the dynamically determinedset of content for the mobile device type can be smaller than thedynamically determined set of content for another device type based onthe conditional section defined in the interface definitions 440.Additional details of exemplary processes for generating the interface455 will be described below with reference to FIGS. 5 and 6. Oncegenerated, the generated interface 455 can be provided by the web server410 to the client device 415 in response to the request.

FIG. 5 is a flowchart illustrating a process for dynamically generatingand providing an interface including conditional content according toone embodiment of the present invention. As illustrated in this example,dynamically generating an interface including conditional content canbegin with receiving 505 a request from a client device for a set ofcontent to be provided through a user interface. For example, theinterface can comprise a web page and the content can comprise a survey.In response to the request, values for one or more variables associatedwith the client device can be determined 510. For example, the values ofthe variables may indicate one or more of a device type for the clientdevice, an application executing on the client device, or a mode of theclient device or application of the client device. The interfaceincluding the set of content can then be generated 515. The set ofcontent included in the interface can be determined dynamically based onthe determined values for the one or more variables associated with theclient device. For example, if the device type of the client device is amobile device type, the dynamically determined set of content for themobile device type can be smaller than the dynamically determined set ofcontent for another device type. Additional details of an exemplaryprocess for generating 515 the interface are described below withreference to FIG. 6. Once generated 515, the generated interface can beprovided 520 to the client device in response to the request.

FIG. 6 is a flowchart illustrating additional details of a process fordynamically generating an interface including conditional contentaccording to one embodiment of the present invention. As illustrated inthis example, generating 515 the interface can further comprise reading605 a definition of the interface. The definition can identify thecontent within a plurality of sections of the interface. The definitioncan also define the content within one or more of the sections of theinterface as conditional based on the value of one or more of thevariables associated with the client device, e.g., not presented tomobile devices. A determination 610 can be made for each section of theinterface based on the definition of the interface as to whether thecontent of the section is conditional.

In response to determining 610 the content for the section is notconditional, the content of the section identified by the interfacedefinition can be add 620 to the generated interface. Otherwise, inresponse to determining 610 the content for the section is conditional,a further determination 615 can be made based on the value of the one ormore of the variables associated with the client device as to whetherthe content of the section should be included in the interface. Inresponse to determining 615 the content for the section should beincluded, the content of the section identified by the interfacedefinition can be added 620 to the generated interface. This process ofgenerating the interface, i.e., reading 605 the interface definition,determining 610 whether a particular section is conditional, determining615 whether conditional sections should be included, and selectivelyadding 620 the content to the generated interface based on thedefinition and runtime variables, can continue for each defined sectionof the interface until 625 all content identified in the interfacedefinition has been checked.

To further illustrate embodiments of the present invention and toprovide a more complete understanding thereof, exemplary user interfacesfor implementing some of these embodiments will now be described.However, it should be understood that these examples are provided anddescribed here only for illustrative purposes and are not intended tolimit the scope of the present invention. Rather, depending upon theexact implementation, interfaces used with various embodiments can varysignificantly in both form and content without departing from the scopeof the present invention. Similarly, these examples are described withreference to an interface providing a survey. However, in otherimplementations, various other types of content may be used withoutdeparting from the scope of the present invention.

FIGS. 7A and 7B are screenshots illustrating exemplary interfaces foridentifying conditional content according to one embodiment of thepresent invention. More specifically, these examples illustrate portionsof an interface, such as an editor interface, that can be used to definecontent such as a survey. FIG. 7A illustrates a portion of theinterface, such as a dialog 705, which may be used to define one or moreconditional sections. This dialog 705 can include any of a variety ofdifferent controls through which the designer of the survey or otherinterface can define the conditional section by, for example, switchinga radio button 710 to “Runtime Variable,” selecting either “Desktop” or“Mobile” options 715 and adding an appropriate title for this section ina textbox 720. FIG. 7B illustrates a portion of the editor interface 725through which the designer can define the content for the differentconditions. For example, one textbox 730 or other set of one or morecontrols can be used to define the content to be presented in case theclient device is a mobile device and another textbox 735 or other set ofone or more controls can be used to define the content to be presentedin case the client device is not a mobile device (e.g., a desktopcomputer) as identified by the value of the runtime variable(s). Adesigner may also use this capability to add an image that only appearsat the top of survey pages for mobile surveys, for example. This couldalso be used to hide lengthy matrix questions, or other questions thatmight be difficult to clearly answer on a small mobile device.

FIGS. 8A and 8B are screenshots illustrating exemplary interfaces forproviding conditional content according to one embodiment of the presentinvention. More specifically, FIG. 8A illustrates an example of a surveyas presented in an interface 805 of a mobile device including a commonor unconditional section 815 provided to any device or in any mode and aconditional section 820 presented only to mobile devices. Similarly,FIG. 8B illustrates the same survey in an interface 810 presented to adesktop computer or other device other than a mobile device. Thisinterface 810 can include the same common or unconditional section 815provided to any device or in any mode as well as a conditional section825 presented only to desktops or other devices other than a mobiledevices. As noted above, if the end user is using a mobile device butexplicitly chooses to switch to “Desktop Mode” at the beginning of thesurvey, content shown can be the desktop content, even if they aretaking the survey from their mobile device.

In the foregoing description, for the purposes of illustration, methodswere described in a particular order. It should be appreciated that inalternate embodiments, the methods may be performed in a different orderthan that described. It should also be appreciated that the methodsdescribed above may be performed by hardware components or may beembodied in sequences of machine-executable instructions, which may beused to cause a machine, such as a general-purpose or special-purposeprocessor or logic circuits programmed with the instructions to performthe methods. These machine-executable instructions may be stored on oneor more machine readable mediums or memory devices, such as CD-ROMs orother type of optical disks, floppy diskettes, ROMs, RAMs, EPROMs,EEPROMs, magnetic or optical cards, flash memory, or other types ofmachine-readable mediums or memory devices suitable for storingelectronic instructions. Alternatively, the methods may be performed bya combination of hardware and software.

While illustrative and presently preferred embodiments of the inventionhave been described in detail herein, it is to be understood that theinventive concepts may be otherwise variously embodied and employed, andthat the appended claims are intended to be construed to include suchvariations, except as limited by the prior art.

What is claimed is:
 1. A method for dynamically generating an interfaceincluding conditional content, the method comprising: receiving arequest from a client device for a set of content; determining valuesfor one or more variables associated with the client device; generatingthe interface including the set of content, wherein the set of contentincluded in the interface is determined dynamically based on thedetermined values for the one or more variables associated with theclient device; and providing the generated interface to the clientdevice in response to the request.
 2. The method of claim 1, whereingenerating the interface comprises: reading a definition of theinterface, the definition identifying the content within a plurality ofsections of the interface and defining the content within one or more ofthe sections of the interface as conditional based on the value of oneor more of the variables associated with the client device; anddetermining for each section of the interface based on the definition ofthe interface whether the content of the section is conditional.
 3. Themethod of claim 2, further comprising, in response to determining thecontent for the section is not conditional, adding the content of thesection identified by the interface definition to the generatedinterface.
 4. The method of claim 2, further comprising: in response todetermining the content for the section is conditional, determiningbased on the value of the one or more of the variables associated withthe client device whether the content of the section should be included;and in response to determining the content for the section should beincluded, adding the content of the section identified by the interfacedefinition to the generated interface.
 5. The method of claim 1, whereinthe interface comprises a web page and the content comprises a survey.6. The method of claim 5, wherein the values of the variables indicateone or more of a device type for the client device, an applicationexecuting on the client device, or a mode of the client device orapplication of the client device.
 7. The method of claim 6, wherein thedevice type of the client device is a mobile device type and wherein thedynamically determined set of content for the mobile device type issmaller than the dynamically determined set of content for anotherdevice type.
 8. A system comprising: a processor; and a memory coupledwith and readable by the processor and storing therein a set ofinstructions which, when executed by the processor, causes the processorto dynamically generate an interface including conditional content by:receiving a request from a client device for a set of content;determining values for one or more variables associated with the clientdevice; generating the interface including the set of content, whereinthe set of content included in the interface is determined dynamicallybased on the determined values for the one or more variables associatedwith the client device; and providing the generated interface to theclient device in response to the request.
 9. The system of claim 8,wherein generating the interface comprises: reading a definition of theinterface, the definition identifying the content within a plurality ofsections of the interface and defining the content within one or more ofthe sections of the interface as conditional based on the value of oneor more of the variables associated with the client device; anddetermining for each section of the interface based on the definition ofthe interface whether the content of the section is conditional.
 10. Thesystem of claim 9, further comprising, in response to determining thecontent for the section is not conditional, adding the content of thesection identified by the interface definition to the generatedinterface.
 11. The system of claim 9, further comprising: in response todetermining the content for the section is conditional, determiningbased on the value of the one or more of the variables associated withthe client device whether the content of the section should be included;and in response to determining the content for the section should beincluded, adding the content of the section identified by the interfacedefinition to the generated interface.
 12. The system of claim 8,wherein the interface comprises a web page and the content comprises asurvey.
 13. The system of claim 12, wherein the values of the variablesindicate one or more of a device type for the client device, anapplication executing on the client device, or a mode of the clientdevice or application of the client device.
 14. The system of claim 13,wherein the device type of the client device is a mobile device type andwherein the dynamically determined set of content for the mobile devicetype is smaller than the dynamically determined set of content foranother device type.
 15. A computer-readable memory comprising a set ofinstructions stored therein which, when executed by a processor, causesthe processor to dynamically generate an interface including conditionalcontent by: receiving a request from a client device for a set ofcontent; determining values for one or more variables associated withthe client device; generating the interface including the set ofcontent, wherein the set of content included in the interface isdetermined dynamically based on the determined values for the one ormore variables associated with the client device; and providing thegenerated interface to the client device in response to the request. 16.The computer-readable memory of claim 15, wherein generating theinterface comprises: reading a definition of the interface, thedefinition identifying the content within a plurality of sections of theinterface and defining the content within one or more of the sections ofthe interface as conditional based on the value of one or more of thevariables associated with the client device; and determining for eachsection of the interface based on the definition of the interfacewhether the content of the section is conditional.
 17. Thecomputer-readable memory of claim 16, further comprising, in response todetermining the content for the section is not conditional, adding thecontent of the section identified by the interface definition to thegenerated interface.
 18. The computer-readable memory of claim 16,further comprising: in response to determining the content for thesection is conditional, determining based on the value of the one ormore of the variables associated with the client device whether thecontent of the section should be included; and in response todetermining the content for the section should be included, adding thecontent of the section identified by the interface definition to thegenerated interface.
 19. The computer-readable memory of claim 15,wherein the interface comprises a web page and the content comprises asurvey and wherein the values of the variables indicate one or more of adevice type for the client device, an application executing on theclient device, or a mode of the client device or application of theclient device.
 20. The computer-readable memory of claim 19, wherein thedevice type of the client device is a mobile device type and wherein thedynamically determined set of content for the mobile device type issmaller than the dynamically determined set of content for anotherdevice type.